<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:star="http://star">
<head>
<title>角色列表</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/jquery-ui/jquery-ui.min.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/jqGrid/css/ui.jqgrid.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/artDialog/skins/simple-star.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/star/css/buttons.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/star/css/pageList.css}" />
<script type="text/javascript" th:src="@{/webjars/jquery/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/jquery-ui/jquery-ui.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/jqGrid/js/jquery.jqGrid.js}"></script>
<script type="text/javascript" th:src="@{/webjars/jqGrid/js/i18n/grid.locale-cn.js}"></script>
<script type="text/javascript" th:src="@{/webjars/artDialog/js/jquery.artDialog.js}"></script>
<script type="text/javascript" th:src="@{/webjars/artDialog/js/iframeTools.js}"></script>
</head>
<body>
	<div class="main-container data-container" id="main-container">
		<div class="search-container">
			<form id="queryForm">
				<span>角色名称：<input type="text" name="roleRemark" placeholder="角色名称"></span> 
				<span> 
					<a onclick="roleHandle.query()" class="button blue">查询</a> 
					<a onclick="roleHandle.reset()" class="button grey">清空</a>
				</span>
			</form>
		</div>
		<div class="btnGroup">
			<a star:authorize-uri="/role/add" onclick="roleHandle.addNew()" class="button grey">新增</a> 
			<a star:authorize-uri="/role/deleted" onclick="roleHandle.remove()" class="button red">删除</a>
		</div>
		<div class="data-container">
			<table id="grid-table"></table>
			<div id="grid-pager"></div>
		</div>
	</div>
	<script type="text/javascript" th:src="@{/webjars/star/js/star.authorize.js}"></script>
	<script type="text/javascript" th:inline="javascript" star:authorize-uri="/role/edit">
	addAuthorize("role-edit", true);
	</script>
	<script type="text/javascript" th:inline="javascript" star:authorize-uri="/role/saveRoleResourceRelation">
	addAuthorize("role-saveRoleResourceRelation", true);
	</script>
	<script type="text/javascript" th:inline="javascript" star:authorize-uri="/role/setMainUri">
	addAuthorize("role-setMainUri", true);
	</script>
	<script type="text/javascript" th:inline="javascript" star:authorize-uri="/role/viewResource/*">
	addAuthorize("role-viewResource", true);
	</script>
	<script type="text/javascript" th:src="@{/webjars/star/js/star.list.comm.js}"></script>
	<script type="text/javascript" th:src="@{/js/mgr/role/list.js}"></script>
</body>
</html>